using System;
using LFromeWork;

namespace LFromeWork
{
    public class EventManager:IDisposable
    {
        public CommonEvent CommonEvent { get; private set; }
        public SocketEvent SocketEvent { get; private set; }

        public EventManager()
        {
            CommonEvent = new CommonEvent();
            SocketEvent = new SocketEvent();
        }

        public void Dispose()
        {
            SocketEvent.Dispose();
            CommonEvent.Dispose();
        }
    }
}
